package com.wlyuan.open.scanner.domain.order.mapping;

import org.mapstruct.Mapping;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

/**
 * @author lijing
 * @description
 */
@Retention(RetentionPolicy.CLASS)
@Mapping(target = "vehicle.vehicleType", source = "indexCartype")
@Mapping(target = "vehicle.vehicleLength", source = "indexCarlength")
@Mapping(target = "vehicle.vehicleWeight", source = "indexCarweight")
@Mapping(target = "vehicle.vehicleVolume", source = "indexCarvolume")
@Mapping(target = "vehicle.vehicleCount", source = "indexCarcount")
public @interface VehicleMapping {
}
